/*
 * Copyright 2016 Wealth Inc. All rights reserved.
 */
 package com.wealth.platform.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import com.wealth.platform.entity.SldConfig;

import iaas.repository.BaseRepository;

/**
 * @author chan
 */
 @Repository
public interface SldConfigDao extends BaseRepository<SldConfig, Long> ,JpaSpecificationExecutor<SldConfig>{

	 SldConfig findByCorpIdAndType(Long corpid,Integer type);
	 
	 List<SldConfig> findByCorpIdNot(Long corpid);
	
}

